class Solution(object):
    def singleNumber(self, nums):
        """
        :type nums: List[int]
        :rtype: List[int]
        """
        num_count = {}
        for num in nums:
            if num in num_count:
                num_count[num] = num_count[num] + 1
            else:
                num_count[num] = 1

        single_number = []
        for num in num_count.keys():
            if num_count[num] == 1:
                single_number.append(num)
        return single_number
